home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / updates / update19.zoo / gcc2.1 / xm-atari.h < prev   
Encoding:
C/C++ Source or Header  |  1992-03-28  |  767 b   |  34 lines

  1. /* The following Macros control the compilation
  2.  *
  3.  *    CROSSATARI    defined when making cross compiler for TOS or Minix
  4.  *    MINIX        defined when making cross compiler for MINIX only
  5.  *    atariminix    defined when making compiler for MINIX
  6.  *    atarist        defined when making compiler for TOS
  7.  */
  8.  
  9. /* we use an extra file, as we don't do links */
  10.  
  11. /* generic m68k config file */
  12.  
  13. #include "xm-m68k.h"
  14.  
  15. /* make sure this is the case. some versions did'nt def this */
  16. #ifndef HOST_WORDS_BIG_ENDIAN
  17. #  define HOST_WORDS_BIG_ENDIAN
  18. #endif
  19.  
  20. /* make alloca defn more cross-compilable */
  21.  
  22. #if defined(__GNUC__)
  23. #  if defined(alloca)
  24. #    undef alloca
  25. #  endif
  26. #  define alloca(x) __builtin_alloca(x)
  27. #endif
  28.  
  29. #if defined(sparc)
  30. # if !defined(alloca)
  31. #    include <alloca.h>
  32. # endif
  33. #endif
  34.